var t = require("../../utils/http.js"),
  n =
    (require("../../utils/api.js"),
    require("../../utils/language/switchLanguage.js"));
Page({
  data: { list: [] },
  onLoad: function (t) {
    this.getInvoiceOrderList(t.orderSn), this.initLanguage();
  },
  initLanguage: function () {
    var t = n.languageVersion(wx.getStorageSync("language"));
    this.setData({ _t: t, languageType: wx.getStorageSync("language") }),
      wx.setNavigationBarTitle({ title: t["相关订单"] });
  },
  getInvoiceOrderList: function (n) {
    var e = this;
    t.getInvoiceOrderList(n).then(function (t) {
      e.setData({ list: t.data });
    });
  },
  onReady: function () {},
  onShow: function () {},
  onHide: function () {},
  onUnload: function () {},
  onPullDownRefresh: function () {},
  onReachBottom: function () {},
});
